import * as React from 'react';

class TestHMR extends React.Component {
  constructor() {
    super()
    this.state = {
      count: 0
    }
  }

  render() {
    return <div onClick={() => this.setState(state => ++state.count)}>改这儿会丢失目标状态{this.state.count}</div>
  }
}

export { TestHMR }